package com.graduation.lastproject.service.home.HomeBasicActice;

import com.graduation.lastproject.entity.User;

import java.util.Map;

public interface HomeService {
    //用户注册
    int login(Map<String,Object> map);

    //根据登录名查询用户信息
    User getByLoginName(String loginName);

    //查询电话是否存在
    boolean getUserPhone(String phone);

    //用户信息修改
    int updateInfo(Map<String, Object> map);
}
